package com.ajk.server.controller.events;

import org.springframework.context.ApplicationEvent;

public class RemoteSyncEvent extends ApplicationEvent {

	private static final long serialVersionUID = 1L;
	
	/**
	 * 同步护士站
	 */
	public final static int SYNC_NURSE_STATION = 1;
	/**
	 * 同步用户
	 */
	public final static int SYNC_USER = 2;
	/**
	 * 同步健康数据
	 */
	public final static int SYNC_HEALTHY_DATA = 3;

	private int type;

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	
	public RemoteSyncEvent(Object source,int type) {
		super(source);
		this.type = type;
	}

}
